-- GENERATED SPELL FOR [Bluffwatcher] --


function spell0_3084(pUnit, Event) --@Backhand,n/a--
pUnit:FullCastSpellOnTarget(6253,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3084', 2288, 1)
end

function spell1_3084(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(11976,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3084', 598, 1)
end

function Sorts_3084(pUnit, Event)
local choix_sorts_3084 = math.random(0, 1)
if choix_sorts_3084 == 0 then
pUnit:RegisterEvent('spell0_3084', 1, 1)
end
if choix_sorts_3084 == 1 then
pUnit:RegisterEvent('spell1_3084', 1, 1)
end
end

function mob3084_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3084', math.random(1500, 3000), 1)
end

function mob3084_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3084_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3084_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3084, 1, 'mob3084_Action')
RegisterUnitEvent(3084, 2, 'mob3084_Leave')
RegisterUnitEvent(3084, 3, 'mob3084_Kill')
RegisterUnitEvent(3084, 4, 'mob3084_Die')
